package edu.spec.wechat.service.iface;

import edu.spec.wechat.model.WechatMenu;
import edu.spec.wechat.model.WechatMenuDto;

import java.util.List;

/**
 * Created by MadFrog on 2016/10/28.
 */
public interface IWechatMenuService {
    public void add(WechatMenu menu);
    public void delete(int id);
    public void update(WechatMenu menu);
    public WechatMenu load(int id);
    public List<WechatMenu> listAll();
    public WechatMenu loadByKey(String key);
    public List<WechatMenuDto> generateWechatMenuDto();

}
